package com.isczy.eduservice.mapper;

import com.isczy.eduservice.entity.EduChapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.isczy.eduservice.entity.vo.ChapterVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程章节 Mapper 接口
 * </p>
 *
 * @author CZY
 * @since 2021-01-02
 */
@Repository
public interface EduChapterMapper extends BaseMapper<EduChapter> {

    List<ChapterVo> selectChapterVoList(String courseId);

    void deleteChapterByCourseId(String courseId);
}
